import React from 'react'



import './SearchList.less'

import  Item from './Item/Item'
export default class SearchList extends React.Component {


    render() {
        let data = this.props.data

        return (


            <div className="list-container">
            {
                data.map((element,index) => {
                    return <Item data={ element } key={element.id}/>
                    
                    
                })
            }
         </div>
            
        )
    }
}